import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      component: () => import('../views/Home.vue'),
    },
    {
      path: '/profile',
      component: () => import('../views/Profile.vue'),
    },
    {
      path: '/rank',
      component: () => import('../views/Rank.vue'),
    },
    {
      path: '/activityList',
      component: () => import('../views/ActivityList.vue'),
    },
    {
      path: '/activityDetail',
      component: () => import('../views/ActivityDetail.vue'),
    },
    {
      path: '/mySignup',
      component: () => import('../views/MySignup.vue'),
    },
    {
      path: '/uploadService',
      component: () => import('../views/UploadService.vue'),
    },
    {
      path: '/serviceLog',
      component: () => import('../views/ServiceLog.vue'),
    },
    {
      path: '/serviceDetail',
      component: () => import('../views/ServiceDetail.vue'),
    },
  ],
})

export default router
